

from ninja import ModelSchema, Router, Schema

from customauth.models import MyUser
from .models import Patient

router = Router(tags=["rentgen"])

class ReturnData(Schema):
    ok: bool = True
    status: int = 200
    data: list | str = None


@router.get("/", response={200: ReturnData})
def test_get(request):
    test_string = "test"
    return 200, {"ok": True, "status": 200, "data": test_string}
